<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" errorPage="" %>
<jsp:directive.page import="com.wy.form.FriendForm"/>
<jsp:directive.page import="java.util.List"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="CSS/style.css">
<script language="javascript" type="text/javascript" src="JS/validate.js"></script>
<title>博客天空-后台管理</title>
<style type="text/css">
<!--
.style1 {color: #FFCD00}
.style2 {
	color: #a54400;
	font-weight: bold;
}
body {
	background-color: #F0F0F0;
}
.style4 {color: #666666}
-->
</style>
</head>



<%FriendForm form=(FriendForm)request.getAttribute("form");%>


<body>
<jsp:include page="back_Top.jsp" flush="true" />
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" background="images/back1.gif">
  <tr>
    <td width="227" valign="top"><jsp:include page="back_Left.jsp" flush="true" /></td>
    <td width="573" valign="top"><table width="227" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/back_noword_03.jpg" width="573" height="25"></td>
      </tr>
    </table>
      <table width="573" border="0" cellpadding="0" cellspacing="0" background="images/back_noword_05.jpg">
        <tr>
          <td valign="top" align="center">		
		  
		  <%out.println("<p align=left>&nbsp;&nbsp;&nbsp;&nbsp;<img src=images/icon.gif width=10 height=10>&nbsp;&nbsp;朋友修改</p>");%>
		  <form name="form" method="post" action="FriendServlet?method=3&id=<%=form.getId()%>" onSubmit="return friendAdd()">
		  
            <table width="340" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#FECE62">
              <tr>
                <td width="72" height="30"><div align="center">昵称：</div></td>
                <td width="255" bgcolor="#FFFFFF"><div align="center">
                  <input name="name" type="text" class="inputinput"  size="30" value="<%=form.getName()%>">
                </div></td>
              </tr>
              <tr>
                <td height="30"><div align="center">QQ号码：</div></td>
                <td bgcolor="#FFFFFF"><div align="center">
                  <input name="QQNumber" type="text" class="inputinput"  size="30" value="<%=form.getQQNumber()%>">
                </div></td>
              </tr>
              <tr>
                <td height="30"><div align="center">描述：</div></td>
                <td bgcolor="#FFFFFF"><div align="center">
                  <textarea name="description" cols="28" rows="20" class="inputinput" ><%=form.getDescription()%></textarea>
                </div></td>
              </tr>
            </table>
            <br>
 <input type="image" class="inputinputinput" src="images/modify.gif" width="51" height="20">
&nbsp;&nbsp;
 <a href="#" onClick="javascript:form.reset()"><img src="images/reset.gif"></a>
 &nbsp;&nbsp;
<a href="#" onclick="javascript:history.go(-1);"><img src="images/back.gif"></a>
 
            </form>
			
			<%if(request.getAttribute("result")!=null){
			out.print(request.getAttribute("result"));
			} %></td>
        </tr>
      </table>
      <table width="227" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="images/back_noword_18.jpg" width="573" height="21"></td>
        </tr>
      </table></td>
  </tr>
</table>
<jsp:include page="back_Down.jsp" flush="true" />
</body>
</html>
